package com.bruce.demo2.patterns.demo2.structural.demo07.adapter.demo2;

/**
 * @PROJECT_NAME: design_patterns
 * @DESCRIPTION: TF卡实现类：适配者类
 * @AUTHOR: CNBruceLee
 * @DATE: 2021/7/22 21:34
 */
public class TFCardImp implements TFCard {
    public String readTF() {
        return "tf card read a msg: hello word TF";
    }

    public void writeTF(String data) {
        System.out.println("tf card write msg:" + data);

    }
}
